package com.shanjupay.merchant.service;

import com.shanjupay.common.exception.BusinessException;

import java.sql.BatchUpdateException;

public interface SmsService {
    /**
     * 获取短信代码
     *
     * @param phone 电话
     * @return {@link String}
     */
    String getSmsCode(String phone) throws BusinessException;

    /**
     * 检查验证码
     *
     * @param verifiykey  verifiykey
     * @param verifiyCode 验证代码
     */
    void checkVerifiyCode(String verifiykey, String verifiyCode) throws BusinessException;
}
